{extend name="$member_style_layout" /}

{block name="title"}我的财务信息{/block}
{block name="content"}
<style>
.aboutrmb1{
	padding:20px 20px 0 20px;
	line-height:30px;
	font-size:16px;
}
.aboutrmb1 h3{
	font-weight:bold;
}
.aboutrmb1 div{
	color:#888;
}
.aboutrmb1 p em{
	color:#999;
	font-size:14px;
}
.rmbAction1{
	margin:10px 20px 0 20px;
	height:40px;
	padding:15px 0 15px 0;
	border-top:#DDD dotted 1px;
	border-bottom:#DDD dotted 1px;
}
.rmbAction1 a{
	display:block;
	height:40px;
	line-height:40px;
	background:#79BEEB;
	padding:0 20px;
	margin-right:20px;
	float:left;
	font-size:18px;
	color:#FFF;
}
.rmbAction1 a:before{
	padding-right: 5px;
}
.rmbAction1 a:nth-child(1){
	background: #FFA366;
}
.rmbAction1 a:nth-child(3){
	background: #369;
}
.rmbAction1 a:hover{
	background: #F30;
}
.rmbSet1{
	padding:15px 20px 20px 20px;
	line-height:30px;
	height:30px;
}
.rmbSet1 a{
	display:block;
	height:30px;
	font-size:18px;
	margin-right:20px;
	float:left;
}
.rmbSet1 a i{
	margin-right: 5px;
	color: #369;
	font-size:22px;
}	
</style>
<div class="MainCont">
	<div class="head"><div class="tag fa fa-sellsy">我的财务信息</div></div>
    <div class="cont">
    	<div class="aboutrmb1">
        	<h3>当前可用余额</h3> 
			<div><span class="red">{$userdb.rmb}</span>元</div>
			<p>冻结资金: <span class="blue">{$userdb.rmb_freeze}</span> 元 <em>(正在交易中的资金，如果交易不成功资金会自动打回您的可用余额中)</em></p>
        </div>
		<div class="rmbAction1">
			<a href="{:purl('add')}" class="si si-login">充值</a>
			<a href="{:purl('getmoney')}" class="si si-logout">提现</a>
			<a href="{:purl('log')}" class="glyphicon glyphicon-transfer">提现记录</a>
		</div>
		<div class="rmbSet1">
			<a href="{:purl('edit')}"><i class="si si-users"></i>收款帐号设置</a>
			<a href="{:purl('pwd')}"><i class="si si-key"></i>支付密码设置</a>
		</div>
    </div>
</div>
<div class="MainCont mtop10">
	<div class="head"><div class="tag fa fa-list">充值/消费记录</div></div>
    <div class="cont">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable">
          <tr>
            <th width="10%">类型</th>
            <th width="45%">项目</th>
            <th width="15%">可用余额变动</th>
            <th width="20%">发生时间</th>
            <!--th width="10%">删除</th-->
          </tr>
{volist name="listdb" id="rs"}
          <tr>
            <td>
{gt name="rs.money" value="0"}
<font color='#fd8256'>收入</font>
{else/}
支出
{/gt}
            </td>
            <td class="tL"><div class="onelist">{$rs.title|get_word="60"}</div></td>
            <td class="b">{$rs.money} 元</td>
            <td>{$rs.posttime|format_time}</td>
            <!--td> <a href="{:purl('delete',['id'=>$rs['id']])}" class="del">删除</a></td-->
          </tr>
{/volist}
        </table>
        <div class="Showpage">{$pages}</div>
    </div>
</div>
{/block}